package util;

import java.io.PrintStream;

/**
 * Created by ab on 2016/11/2.
 */
public class Print {
    //print with a new line:
    public static void print(Object obj){
        System.out.println(obj);
    }
    //print a new line by itself
    public static void print(){
        System.out.println();
    }
    //print with no line break:
    public static void printnb(Object obj){
        System.out.print(obj);
    }
    //The new Java SE5 printf() (from C):
    public static PrintStream printf(String format,Object...args){
        return System.out.printf(format,args);
    }
}
